<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>TransparentSpriteColor</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">TransparentSpriteColor()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>TransparentSpriteColor</b></font>(#Sprite, Color)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Changes the sprite transparent color (when displayed with <a href="displaytransparentsprite.html">DisplayTransparentSprite()</a>). 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sprite</i></td>
<td width="90%"> 
 
The sprite to use. If <font color="#924B72">#PB_Default</font> is used, then the default color (black - RGB(0,0,0)) is changed to the new given 
one and all future loaded or created sprites will use this color as the transparent one. 

 

</td></tr>
<tr><td><i>Color</i></td>
<td> 
 
The new color to handle as transparent color. <a href="../2ddrawing/rgb.html">RGB()</a> can be used to get a valid color value. 
A table with common colors is available <a href="../reference/colortable.html">here</a>. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>参阅</b></p><blockquote>

<a href="displaytransparentsprite.html">DisplayTransparentSprite()</a>, <a href="../2ddrawing/rgb.html">RGB()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=transformsprite.html>TransformSprite()</a> - <a href=index.html>Sprite Index</a> - <a href=zoomsprite.html>ZoomSprite()</a> -&gt;



</body></html>